// bool, Obj this, point pt

Unit me;
me = this.AsUnit();
if(!me.IsValid()) return false;

return true;
